gtkmain: Fix code example
authorTimm Bäder <mail@baedert.org>
Tue, 25 Apr 2017 13:22:52 +0000 (15:22 +0200)
committerTimm Bäder <mail@baedert.org>
Tue, 25 Apr 2017 18:30:37 +0000 (20:30 +0200)
gtk_init doesn't take parameters anymore

gtk/gtkmain.c

index 045480c26baa88b9d2e0aa0a2f0b3e5d3f087afa..b145f0063d1135e28b19df145d3f698c7d68301e 100644 (file)
@@ -64,7 +64,7 @@
  *   ...
  *
  *   // Initialize the widget set
- *   gtk_init (&argc, &argv);
+ *   gtk_init ();
  *
  *   // Create the main window
  *   mainwin = gtk_window_new (GTK_WINDOW_TOPLEVEL);